/*
 * @Description: 
 * @version: 
 * @Company: 
 * @Author: GeYang
 * @Date: 2019-11-14 15:21:56
 * @LastEditors: 
 * @LastEditTime: 2019-11-14 15:34:08
 */

var person = {

    name: 'zhouzhao',
    sex: '男',
    height: '150',
    age: '18',
    weight: null,
    eat:function(){
        console.log("I’m eat");
    }

}

for (const key in person) {
    // if (object.hasOwnProperty(key)) {
    //     const element = object[key];
    // }

    console.log(key);
}

